//
//  ByCoreLogSqlite3.h
//  beibei_ios
//
//  Created by pro on 16/6/16.
//  Copyright © 2016年 hebidu. All rights reserved.
//

#import <Foundation/Foundation.h>

#import "ByCoreLogModel.h" // 打印 model

#define BASE_DIC @{@"time" : [NSDate currentTimeStamp],                          \
                   @"func" : [NSString stringWithFormat:@"%s", __func__],        \
                   @"line" : [NSString stringWithFormat:@"%d", __LINE__],        \
                   @"context" :  @{@"APP_SCHEME" : APP_SCHEME,                   \
                                   @"APP_NAME" : APP_NAME,                       \
                                   @"APP_VERSION" : APP_VERSION,                 \
                                   @"DEVICE_VERSION" : [NSString deviceVersion]  \
                                   }                                             \
                   }

@interface ByCoreLogSqlite3 : NSObject

/** 存储打印信息 */
+ (void)debugWithBase:(NSDictionary *)baseDic content:(id)content;

/** 查找时间大于所查时间的打印 */
+ (NSArray *)queryDebugAfterTime:(NSInteger)time;

@end
